(function(window){
	var Index_subject_detail_wapCtrl = {
		data:{},
		init: function(data){
			this.bindEven();
			$(".toolbar").hide();
			 
  },
		afterShow:function(){
			//$('[data-page="Index_subject_detail_wap"]').find(".page-content").css({"height":$(window).height(),'overflow':'auto'});
			//hiApp.swiperPage("#subject_detail_body");
	 	$(".toolbar").hide();
			//alert(1);
		},
		show_lesson:function(){	
			CM.init("BoxEdu","Subject_lessonCtrl").show_lesson($(this))
		},
	
		 bindEven: function(){
            var bindings = [{
               // element:document,
                element:'.learnchapter h3',
                event:hiApp.device.click,
                handler:this.show_lesson
            }
			
			];
            bindEvents(bindings);
        },
    };
		
	window.BoxEdu_Index_subject_detail_wapCtrl = Index_subject_detail_wapCtrl;
						
})(window);